package com.tbit.uqbike.client.service;

import com.tbit.uqbike.client.pojo.Machine;
import com.tbit.uqbike.client.pojo.MachineBorrow;
import com.tbit.uqbike.client.pojo.Point;
import com.tbit.uqbike.client.pojo.ReturnBikeMsgLog;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 还车日志
 *
 * @Author:BUGTian
 * @DATE: 2023/6/1
 */
public interface ReturnBikeMsgLogService {

    /**
     * 添加日志
     *
     * @param machineBorrow
     * @param machine
     * @param posFrom
     * @param returnType
     * @param parkPointId
     * @param distanceMap
     * @param returnTime
     * @param checkPoint
     */
    void addBikeMsgLog(MachineBorrow machineBorrow, Machine machine, Integer posFrom, Integer returnType, Integer parkPointId, Map<String, Double> distanceMap, Date returnTime, Point checkPoint);

    /**
     * 批量入库
     *
     * @param list
     */
    void addBatch(List<ReturnBikeMsgLog> list);
}
